<?php
	session_start();
	include '../../lib/common/dbRoutines.php';
	include '../../lib/dao/UserDao.php';

	
	$answer = ""; 
	$answer = $_SESSION['user'];
	
	if(isset($_SESSION['user'])){
		unset($_SESSION['user']);// = $username;
		unset($_SESSION['pass']);
		session_destroy();
		$answer .= "logout";
	}
	echo $answer;
?>